cmake_minimum_required (VERSION 3.6)

project(messager)

aux_source_directory(src DIR_LIB_SRCS)
add_library(${PROJECT_NAME} ${DIR_LIB_SRCS})

target_include_directories(${PROJECT_NAME} PUBLIC "inc")

add_dependencies(${PROJECT_NAME} kernal_rtos kernal_cmsis framework_log)
target_link_libraries(${PROJECT_NAME} kernal_cmsis kernal_rtos framework_log)
target_compile_options(${PROJECT_NAME} PRIVATE -g)